package com.woniuxy.crm.entity;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@Builder
public class CommunicationRecord {
    private int id, customerId, managerId;
    private LocalDateTime communicationTime;
    private String communicationRemark;

    public CommunicationRecord() {
    }

    @Override
    public String toString() {
        return "CommunicationRecord{" +
                "id=" + id +
                ", customerId=" + customerId +
                ", managerId=" + managerId +
                ", communicationTime=" + communicationTime +
                ", communicationRemark='" + communicationRemark + '\'' +
                '}';
    }

    public CommunicationRecord(int id, int customerId, int managerId, LocalDateTime communicationTime, String communicationRemark) {
        this.id = id;
        this.customerId = customerId;
        this.managerId = managerId;
        this.communicationTime = communicationTime;
        this.communicationRemark = communicationRemark;
    }
}
